/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Exceptions;

import java.util.List;

/**
 *
 * @author Florian
 */
public class InputTypeException extends Throwable{
    
    private String[] listErr = {"int","string","float","double"};
    private String message;
    
    public InputTypeException(int type){
        message = listErr[type];
    }
    
    @Override
    public String getMessage(){
        return message;
    }
}
